package team.seekers.catering.food.entity.pojo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
public class ContainIngredientListVO implements Serializable {

    @ApiModelProperty(value = "食材id")
    private String id;

    @ApiModelProperty(value = "食材名字")
    private String name;

    @ApiModelProperty(value = "食材总量（单位g）")
    private Integer amount;

    public ContainIngredientListVO(String id, String name, Integer amount) {
        this.id = id;
        this.name = name;
        this.amount = amount;
    }
}
